\hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay}{}\section{com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Bus\+Line\+Overlay类 参考}
\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay}\index{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay@{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay}}


类 com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Bus\+Line\+Overlay 继承关系图\+:
% FIG 0


com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Bus\+Line\+Overlay 的协作图\+:
% FIG 1
\subsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay_a3bae762afd7f6ab438e947096aa3a412}{Bus\+Line\+Overlay}} (Baidu\+Map baidu\+Map)
\item 
void \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay_a170ae0fce2e4d5d17d066ecf0ebff773}{set\+Data}} (Bus\+Line\+Result result)
\item 
final List$<$ Overlay\+Options $>$ \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay_abffcfad4dbf8428fa7a009f4129121a9}{get\+Overlay\+Options}} ()
\item 
boolean \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay_aa4a33d7e17c716831a6f49b1a668b093}{on\+Bus\+Station\+Click}} (int index)
\item 
final boolean \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay_afa098f2a4e0fea56e427e86ba77db592}{on\+Marker\+Click}} (Marker marker)
\item 
boolean \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay_a3670408552eea15f9a7e2939995b736a}{on\+Polyline\+Click}} (Polyline polyline)
\end{DoxyCompactItemize}
\subsection*{Private 属性}
\begin{DoxyCompactItemize}
\item 
Bus\+Line\+Result \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay_a323eb1d31b4b75b16dad16e83c3a4029}{m\+Bus\+Line\+Result}} = null
\end{DoxyCompactItemize}
\subsection*{额外继承的成员函数}


\subsection{详细描述}
用于显示一条公交详情结果的\+Overlay 

\subsection{构造及析构函数说明}
\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay_a3bae762afd7f6ab438e947096aa3a412}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay_a3bae762afd7f6ab438e947096aa3a412}} 
\index{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay@{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay}!BusLineOverlay@{BusLineOverlay}}
\index{BusLineOverlay@{BusLineOverlay}!com.example.akisame\_lin.love\_air2.utils.BusLineOverlay@{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay}}
\subsubsection{\texorpdfstring{BusLineOverlay()}{BusLineOverlay()}}
{\footnotesize\ttfamily com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Bus\+Line\+Overlay.\+Bus\+Line\+Overlay (\begin{DoxyParamCaption}\item[{Baidu\+Map}]{baidu\+Map }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

构造函数


\begin{DoxyParams}{参数}
{\em baidu\+Map} & 该\+Bus\+Line\+Overlay所引用的 Baidu\+Map 对象 \\
\hline
\end{DoxyParams}


\subsection{成员函数说明}
\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay_abffcfad4dbf8428fa7a009f4129121a9}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay_abffcfad4dbf8428fa7a009f4129121a9}} 
\index{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay@{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay}!getOverlayOptions@{getOverlayOptions}}
\index{getOverlayOptions@{getOverlayOptions}!com.example.akisame\_lin.love\_air2.utils.BusLineOverlay@{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay}}
\subsubsection{\texorpdfstring{getOverlayOptions()}{getOverlayOptions()}}
{\footnotesize\ttfamily final List$<$Overlay\+Options$>$ com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Bus\+Line\+Overlay.\+get\+Overlay\+Options (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay_aa4a33d7e17c716831a6f49b1a668b093}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay_aa4a33d7e17c716831a6f49b1a668b093}} 
\index{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay@{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay}!onBusStationClick@{onBusStationClick}}
\index{onBusStationClick@{onBusStationClick}!com.example.akisame\_lin.love\_air2.utils.BusLineOverlay@{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay}}
\subsubsection{\texorpdfstring{onBusStationClick()}{onBusStationClick()}}
{\footnotesize\ttfamily boolean com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Bus\+Line\+Overlay.\+on\+Bus\+Station\+Click (\begin{DoxyParamCaption}\item[{int}]{index }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

覆写此方法以改变默认点击行为


\begin{DoxyParams}{参数}
{\em index} & 被点击的站点在 \mbox{\hyperlink{}{com.\+baidu.\+mapapi.\+search.\+busline.\+Bus\+Line\+Result\#get\+Stations()}} 中的索引 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
是否处理了该点击事件 
\end{DoxyReturn}
\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay_afa098f2a4e0fea56e427e86ba77db592}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay_afa098f2a4e0fea56e427e86ba77db592}} 
\index{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay@{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay}!onMarkerClick@{onMarkerClick}}
\index{onMarkerClick@{onMarkerClick}!com.example.akisame\_lin.love\_air2.utils.BusLineOverlay@{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay}}
\subsubsection{\texorpdfstring{onMarkerClick()}{onMarkerClick()}}
{\footnotesize\ttfamily final boolean com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Bus\+Line\+Overlay.\+on\+Marker\+Click (\begin{DoxyParamCaption}\item[{Marker}]{marker }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay_a3670408552eea15f9a7e2939995b736a}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay_a3670408552eea15f9a7e2939995b736a}} 
\index{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay@{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay}!onPolylineClick@{onPolylineClick}}
\index{onPolylineClick@{onPolylineClick}!com.example.akisame\_lin.love\_air2.utils.BusLineOverlay@{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay}}
\subsubsection{\texorpdfstring{onPolylineClick()}{onPolylineClick()}}
{\footnotesize\ttfamily boolean com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Bus\+Line\+Overlay.\+on\+Polyline\+Click (\begin{DoxyParamCaption}\item[{Polyline}]{polyline }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay_a170ae0fce2e4d5d17d066ecf0ebff773}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay_a170ae0fce2e4d5d17d066ecf0ebff773}} 
\index{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay@{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay}!setData@{setData}}
\index{setData@{setData}!com.example.akisame\_lin.love\_air2.utils.BusLineOverlay@{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay}}
\subsubsection{\texorpdfstring{setData()}{setData()}}
{\footnotesize\ttfamily void com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Bus\+Line\+Overlay.\+set\+Data (\begin{DoxyParamCaption}\item[{Bus\+Line\+Result}]{result }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

设置公交线数据


\begin{DoxyParams}{参数}
{\em result} & 公交线路结果数据 \\
\hline
\end{DoxyParams}


\subsection{类成员变量说明}
\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay_a323eb1d31b4b75b16dad16e83c3a4029}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_bus_line_overlay_a323eb1d31b4b75b16dad16e83c3a4029}} 
\index{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay@{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay}!mBusLineResult@{mBusLineResult}}
\index{mBusLineResult@{mBusLineResult}!com.example.akisame\_lin.love\_air2.utils.BusLineOverlay@{com.example.akisame\_lin.love\_air2.utils.BusLineOverlay}}
\subsubsection{\texorpdfstring{mBusLineResult}{mBusLineResult}}
{\footnotesize\ttfamily Bus\+Line\+Result com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Bus\+Line\+Overlay.\+m\+Bus\+Line\+Result = null\hspace{0.3cm}{\ttfamily [private]}}



该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
app/src/main/java/com/example/akisame\+\_\+lin/love\+\_\+air2/utils/\mbox{\hyperlink{_bus_line_overlay_8java}{Bus\+Line\+Overlay.\+java}}\end{DoxyCompactItemize}
